package cn.mdmbct.douyin.spring.example.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 抖音视频发布参数
 *
 * @author mdmbct  mdmbct@outlook.com
 * @date 2021/4/25 11:22
 * @modified mdmbct
 * @since 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("抖音视频发布参数")
public class DyVideoPublishDto implements Serializable {

    private static final long serialVersionUID = -4367992604008953775L;

    @ApiModelProperty(value = "当前用户的open id", required = true)
    private String openId;

    @ApiModelProperty(value = "发布视频的文件路径 借助查找视频文件的接口拿到", required = true)
    private String videoFilePath;

    @ApiModelProperty(value = "将传入的指定时间点对应帧设置为视频封面（单位：秒）不设的话传0.0", required = true, example = "2.3", dataType = "float")
    private float coverTsp = 0.0F;

    @ApiModelProperty(value = "视频标题")
    private String title;

    @ApiModelProperty(value = "话题列表 带上‘#’", example = "[\"#话题1\", \"#话题2\", \"#话题3\"]")
    private String[] topic;


    @ApiModelProperty("@的好友openid列表 不要带@")
    private String[] at;
}